<template>
  <div class="detailsBox">
    <div class="main">
      <div class="projectInfo">
        <div class="header">
        <img src="../../assets/u318.png" alt="">
        <span class="xmxx">项目信息</span>
        </div>
        <p>项目地址<span>厦门市思明区龙虎山路726号501</span></p>
        <p>项目编号<span>XM200608001</span></p>
        <p>项目名称<span>海洋公寓</span></p>
        <p>缴费金额<span>3200</span></p>
      </div>
      <div class="orderInfo">
        <div class="header">
          <img src="../../assets/u318.png" alt="">
          <span class="xmxx">订单信息</span>
        </div>
        <p>发票<span id="fapiao">厦门百胜餐饮食品有限公司</span></p>
        <p>缴费编号<span>JF202006150001</span></p>
        <p>创建时间<span>2020-06-15 15 : 00 : 10</span></p>
        <p>付款时间<span>2020-06-15 17 : 00 : 10</span></p>
      </div>
      <div class="paymentInfo">
        <div><span>缴费方式</span><span class="payMethod">微信支付</span></div>
        <div class="payAmount"><span>支付金额</span><span>￥3200</span></div>
      </div>
      <div class="refundInfo">
        <div class="header">
          <img src="../../assets/u318.png" alt="">
          <span class="xmxx">退款信息</span>
        </div>
        <p>退款编号<span>TK202006150001</span></p>
        <p>退款时间<span>2020-06-19 15 : 00 : 19</span></p>
      </div>
      <div class="paymentInfo">
        <div><span>退款方式</span><span class="refundMethod">线下退款</span></div>
        <div class="payAmount"><span>退款金额</span><span>￥3200</span></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      // 判断用户是 支付状态 是 已缴费(1) 还是 已退款(2)
      payStatus: 2
    }
  },
  created () {
    console.log(this.$route.query.id)
  },
  methods: {}

}
</script>

<style lang="less" scoped>
  .detailsBox {
    font-size: 15px;
    color: #333333;
    .main {
      padding: 70px 15px 0 15px;
    }
  }
  .header {
    margin-bottom: 16px;
  }
  .projectInfo p,
  .orderInfo p,
  .refundInfo p {
    margin-bottom: 28px;
  }
  .projectInfo span,
  .orderInfo span,
  .refundInfo span {
    margin-left: 20px;
    color: #666;
  }
  #fapiao {
    margin-left: 50px;
  }
  .projectInfo .xmxx,
  .orderInfo .xmxx,
  .refundInfo .xmxx {
    margin-left: 10px;
    color: #000;
    vertical-align: top;
  }

  .paymentInfo div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    .payMethod {
      color: #4BB633;
    }
    .refundMethod {
      color: #C9C9C9;
    }
  }
  .paymentInfo .payAmount {
    color: #000000;
    margin-bottom: 28px;
  }
  .tuikuan {
    position: absolute;
    display: flex;
    box-sizing: border-box;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 60px;
    border-top: 1px solid #ccc;
  }
  .tuikuan div {
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    color: #488CEE;
    border: 1px solid #488CEE;
    margin-right: 20px;
  }
</style>
